Catch Branches

In the Try-Catch activity, a catch branch runs if an error occurs in the try branch. The activity contains two branches by default: a try branch and a Closedcatch branch.

Tip: You can add additional catch branches.

To configure a catch branch

  1. Add the Try-Catch Activity to your workflow definition by dragging it from the Toolbox Pane and dropping it in the Designer Pane.
  2. Select the catch branch in the Designer Pane.
  3. In the Properties Pane, in the ClosedError Type property box, select which types of errors will cause the catch branch to run.
  1. Drag and drop activities into the branch.

Note: Catch branches cannot be canceled or terminated by other activities, such as the Deadline activity. If you place a Try-Catch activity inside the primary branch of a Deadline activity, and the deadline is reached, than the deadline branch will start and run in parallel with the catch branch. When the catch branch completes, the primary branch will be canceled. You can terminate a running catch branch manually, or by using the End Workflow activity.